package com.jisf.driver.service;

import com.jisf.driver.entity.po.StudentExamine;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jisf.driver.entity.vo.ExamineStudentResponseVo;
import com.jisf.driver.response.ResultCode;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jisf
 * @since 2022-05-10
 */
public interface IStudentExamineService extends IService<StudentExamine> {

    /**
     * 报名
     * @param id
     * @return
     */
    ResultCode appoint(Integer id);

    /**
     * 取消报名
     * @param id
     * @return
     */
    ResultCode cancelAppoint(Integer id);

    /**
     * 获取考试学生
     * @param id
     * @return
     */
    List<ExamineStudentResponseVo> getExamineStudent(Integer id);

    /**
     * 为考生评分
     * @param studentExamine
     * @return
     */
    ResultCode setScore(StudentExamine studentExamine);

    /**
     * 考试成绩备注
     * @param studentExamine
     * @return
     */
    ResultCode setRemark(StudentExamine studentExamine);
}
